package com.pn;

import de.codecentric.boot.admin.server.config.EnableAdminServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

//admin监控中心
@EnableAdminServer
//eureka的客户端
@EnableEurekaClient
@SpringBootApplication
public class AdminServerApp {

    public static void main(String[] args) {

        SpringApplication.run(AdminServerApp.class, args);
    }
}
